<?php if (count($announcement) > 0) : ?>
<div class="mybz-horn">
    <i class="iconfont">&#xe602;</i>
    <ul id="marquee" class="marquee"> 
        <?php foreach ($announcement as $item) :?>
        <li>
            <a target="_blank" href="<?php echo site_url('mailbox/systemDetail/'.$item->id);?>"><?php echo $item->title;?></a>
        </li>
        <?php endforeach;?>
    </ul>
</div>
<?php endif;?>